package com.zcn.io.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zcn.io.common.vo.OrderMainForTrusteeshipVo;
import com.zcn.io.web.api.entity.AnswerRecordTask;
import com.zcn.io.web.api.entity.AnswerRecordTaskDtl;
import com.zcn.io.web.api.query.AnswerRecordTaskQuery;
import com.zcn.io.web.api.vo.AnswerRecordTaskDtlOrderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @desc:
 * @author: 202438 邱建伟
 * @date: 2024/11/3 17:52
 * @Copyright (c) 2024, 江苏金恒信息科技股份有限公司
 */
@Mapper
public interface AnswerRecordTaskMapper extends BaseMapper<AnswerRecordTask> {
    void updateStatus(@Param("id") String id, @Param("status") String status);

    List<AnswerRecordTaskDtl> selectAnswerRecordCount(@Param("query") AnswerRecordTaskQuery query);

    Page<AnswerRecordTaskDtlOrderVo> listByTaskId(Page<AnswerRecordTaskDtlOrderVo> page,@Param("query") AnswerRecordTaskQuery query);
}
